﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<List<MensUnoShop.Models.Tag>>" %>
<li>
    <div class="PRODUCT_RIGHT">
        <h1 class="PRODUCT_RIGHT_TITLE">商品標籤 Items</h1>
        <div class="PRODUCT_RIGHT_CONTENT">
            <ul>
                <li class="PRODUCT_RIGHT_HILIGHT"><a href="/product/mens_uno_bodywear">新品上市 New Arrival</a></li>
                <%foreach(var t in Model.Where(a=>a.TAGTYPE==MensUnoShop.Models.Config.TagType.CLASS)){ %>
                <li id="<%:t.ALIAS %>"><a href="<%:t.URI %>"><%:t.TITLE %></a></li>
                <%} %>
                <%foreach(var t in Model.Where(a=>a.TAGTYPE!=MensUnoShop.Models.Config.TagType.CLASS)){ %>
                <li><a href="<%:t.URI %>" style="color:Red;"><%:t.TITLE %></a></li>
                <%} %>
            </ul>
        </div>
    </div>
    <script type="text/javascript">
        if ($("#pre_sale").html() != null) {
            var pre = $("#pre_sale").html();
            $("#pre_sale").remove();
            $(".PRODUCT_RIGHT_CONTENT ul").html('<li class="PRODUCT_RIGHT_HILIGHT" >' + pre + '</li>' + $(".PRODUCT_RIGHT_CONTENT ul").html());
        }
    </script>
</li>
